
#include <mockcpp/mockcpp.hpp>
#include <testngpp/testngpp.hpp>
#include <Bar.h>

USING_MOCKCPP_NS
USING_TESTNGPP_NS

FIXTURE(Rectangle)
{
	TEST(should be able to get the area:3*4=12)
	{
		Rectangle rect(3,4);
		ASSERT_EQ(12, rect.getArea());
	}

	TEST(should be able to add up 2 integers: 2+7=9)
	{
		Bar bar;
		ASSERT_EQ(9, bar.add(2, 7));
	}
};
